#ifndef __USER_BT_A2DP_H
#define __USER_BT_A2DP_H

#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <stdbool.h>

#include "app_at.h"



typedef enum{

    BT_ENUM_MUSIC_PLAY,
    BT_ENUM_MUSIC_PAUSE,
    BT_ENUM_MUSIC_PREVIOUS,
    BT_ENUM_MUSIC_NEXT,
    //BT_ENUM_MUSIC_VOLUME_INC,
    //BT_ENUM_MUSIC_VOLUME_DEC,

}bt_enum_music_t;


typedef struct 
{
    bool play_status;
    uint8_t vol;
    uint16_t playlen;
    uint16_t playpos;
    uint8_t  song[100];
    
}user_bt_media_t;
extern user_bt_media_t bt_media;


extern void    user_bt_music_control(uint8_t control);
extern void    user_bt_sync_music_volume(uint8_t vol);
extern void    user_bt_set_music_playstatus(bool status);
extern bool    user_bt_get_music_playstatus(void);
extern uint8_t user_bt_get_music_vol(void);
extern void    user_bt_set_music_vol(uint8_t vol);
extern uint8_t *user_bt_get_music_songname(void);
extern void    user_bt_song_lyric_notify(void);
extern void    user_bt_get_media_info(void);

#endif  /*  __USER_BT_A2DP_H  */
